package com.xuwang.mapper;

import com.xuwang.pojo.GovernmentPush;
import com.xuwang.pojo.GovernmentSupervisionPush;
import com.xuwang.pojo.User;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * (GovernmentPush)表数据库访问层
 *
 * @author smallseven
 * @since 2021-09-14 19:24:44
 * @version 1.0
 */
public interface GovernmentPushMapper {


    List<Integer> findTypes();

    List<GovernmentPush> findPushByType(Integer type);

    int findCount();

    int insertPush(GovernmentPush governmentPush);

    List<Integer> findSupervisionTypes();

    int findSupervisionCount();

    List<GovernmentSupervisionPush> findSupervisionPushByType(Integer type);

    List<User> getAllUser();
}
